{include file="user:header" /}
<script type="text/javascript" src="/static/plugin/my97/wdatepicker.js"></script>
</head>

<body class="gray-bg">
<div class="wrapper wrapper-content">
<div class="row"> 
  <!--头部面包屑-->
  <div class="col-lg-12">
    <div class="ibox">
      <div class="ibox-content-p5 text-center">
        <div class="breadcrumb"> <i class="fa fa-home m-r5" style=" font-size: 16px;"></i>
          <li><a href="/user/index">首页</a></li>
          <li class="active">资金明细</li>
        </div>
      </div>
    </div>

	  
    <!--表格-->
    <div class="ibox float-e-margins">
		<div class="ibox-title">
                        <h5>资金明细</h5>
                        
        </div>
		<div class="ibox-content">
			
	<div >
        <form action="{:url('cash')}" method="get">
<select class="form-control m-b m-r5" name="account" style="width: 100px; float: left;display: none;">
                                        <option>选项 1</option>
                                        <option>选项 2</option>
                                        <option>选项 3</option>
                                        <option>选项 4</option>
                                    </select>
			
<input type="text" name="starttime" id="d4311" onfocus="WdatePicker({maxDate:'#F{ $dp.$D(\'d4312\')}'})"  placeholder="开始时间" class="form-control m-r5 Wdate" style=" width: 150px;height:30px;float: left;" value="{$starttime}" readonly>
<input type="text" name="endtime" id="d4312" onfocus="WdatePicker({minDate:'#F{ $dp.$D(\'d4311\')}'})"  placeholder="截止时间" class="form-control m-r5 Wdate" style=" width: 150px;height:30px;float: left;" value="{$endtime}" readonly>
		<button type="submit" class="btn btn-w-m btn-success">搜索</button>
        </form>
			</div>	
			
      <table class="table table-bordered">
        <thead>
          <tr>
            <th>时间</th>
            <th>金额</th>
            <th>类型</th>
              <th>备注</th>
          </tr>
        </thead>
        <tbody>

        {volist name="list" id="vo"}
          <tr>
            <td>{$vo['time']|date="Y-m-d H:i:s"}</td>
            <td>{$vo['cash']}</td>
            <td>{$vo['cat']|get_cash_rtn}</td>
            <td>{$vo['info']}</td>
          </tr>
         {/volist}

        {empty name="list"}
        <tr>
            <td colspan="4" style="text-align: center;">暂无数据</td>
        </tr>
        {/empty}

        </tbody>
      </table>


      <div class="row">
		  
        <div class="col-sm-6">
          <div class="dataTables_info" ></div>
        </div>

        <div class="col-sm-6">
          <div class="dataTables_paginate paging_simple_numbers" id="DataTables_Table_0_paginate">
              {$res|raw}
          </div>
        </div>

      </div>


      </div>
    </div>
    <!----> 
  </div>
</div>

<!-- 全局js -->
{include file="user:footer" /}